home *** CD-ROM | disk | FTP | other *** search
- #include "icmun.h"
-
- void fun_pop_var ()
- {
- INT16
- index;
-
- index = (INT16) getint16 (infile);
- dumpint (index);
-
- if ((UNS16)index < 0x8000)
- printf ("pop global %s %s\n", varname (var [index].type),
- printvar (index));
- else if (index < (INT16) 0xc000)
- printf ("pop local %s %s\n",
- varname (local_types[ (INT16) 0xc000 - (INT16) 1 - index]),
- printvar (index));
- else
- printf ("pop arg %s\n", printvar (index));
- }
-